NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

Reference | strokewidth()


Syntax
strokewidth(width)

DescriptionSets the width of the stroke used for lines around shapes, paths and text.
Returnsthe current stroke width


Example
nofill()
strokewidth(1)
rect(10, 10, 20, 40)
strokewidth(3)
rect(40, 10, 20, 40)